package com.kwum.springcloud.cloud.microserviceconsumermovie.entity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Description: 用户对象类
 * @author Kwum
 * @date 2017年6月30日 下午1:53:36
 * @version 1.0
 */

public class SpringcloudUser implements Serializable{
    
    /**
     * 
     */
    private static final long serialVersionUID = -2270552943831680147L;

    /** 用户id */
    private int id;
    
    /** 账号 */
    private String username;
    
    /** 昵称 */
    private String nickname;
    
    /** 密码 */
    private String password;
    
    /** 头像 */
    private String icon;
    
    /** 余额 */
    private BigDecimal balance;
    
    /** 状态码：1正常、0封号 */
    private int state;
    
    /** 创建时间 */
    private String createtime;
    
    /** 更新时间 */
    private String updatetime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }
}
